package com.work.shart.web.res.classifcation;

import com.work.shart.web.entity.classifcation.ClassificationEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
@Builder
@ApiModel("一级分类")
public class ClassifcationParentRes implements Serializable {
    @ApiModelProperty("父分类id")
    private Long parent;
    @ApiModelProperty("父分类name")
    private String parentName;
    @ApiModelProperty("分类")
    private List<ClassificationEntity> list;
}
